package io.renren.service;

import com.alibaba.fastjson.JSONObject;
import io.renren.entity.EmpContractEntity;
import io.renren.entity.SysUserEntity;

import java.util.List;
import java.util.Map;

/**
 * 员工合同管理
 * 
 * @author zhangheng
 * @email zh_123shmily@163.com
 * @date 2017-07-12 11:06:28
 */
public interface EmpContractService {
	
	EmpContractEntity queryObject(Integer id);
	
	List<EmpContractEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(EmpContractEntity empContract);
	
	void update(EmpContractEntity empContract);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	void enableById(Integer id);//是指定合同生效

	void disableById(Integer id);//是指定合同生效

	void generatorContract(JSONObject jsonObject);

	void simpleAudit(JSONObject params, SysUserEntity sysUserEntity);
}
